package com.wang.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//给页面返回一句 json 形式的一句话
@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String hello01(){
        return "hello springboot";
    }
}
